
<div id="content-container" class="container">
    <div class="row">
        <div class="col-md-3">
            {include file="common/sidenav" /}
        </div>
        <div class="col-md-9">
            <div class="panel panel-default">
                <div class="panel-body">
                    <h2 class="page-header">{$doc.title}</h2>
                    <form id="domain-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('api/domain/setMainDomain')}">
                        {:token()}
                        <input type="hidden" name="is_main_switch" id="is_main_switch" value="1" />
                        <div class="form-group">
                            <div class="col-xs-12 col-sm-12">
                                {$doc.content}
                            </div>
                        </div>



                        <!--<div class="form-group">-->
                        <!--<label class="control-label col-xs-12 col-sm-2">主域名:</label>-->
                        <!--<div class="col-xs-12 col-sm-4">-->
                        <!--<input type="text" class="form-control" id="domain" name="domain" value="" data-rule="required"   placeholder="www.baidu.com">-->
                        <!--</div>-->
                        <!--</div>-->


                    </form>

                </div>
            </div>
        </div>
    </div>
</div>


<style>
    .form-layer {height:100%;min-height:150px;min-width:300px;}
    .form-body {
        width:100%;
        overflow:auto;
        top:0;
        position:absolute;
        z-index:10;
        bottom:50px;
        padding:15px;
    }
    .form-layer .form-footer {
        height:50px;
        line-height:50px;
        background-color: #ecf0f1;
        width:100%;
        position:absolute;
        z-index:200;
        bottom:0;
        margin:0;
    }
    .form-footer .form-group{
        margin-left:0;
        margin-right:0;
    }
</style>